import request from '@/utils/request.js'

export default {
    list(labelType) {
        return request({
            url: '/printTagModel/list/'+labelType,
            method: 'post'
        })
    },
    add(data) {
        return request({
            url: '/printTagModel/',
            method: 'post',
            data: data
        })
    },
    select(data) {
        return request({
            url: '/printTagModel/select/'+data.id,
            method: 'post'
        })
    },
    // 获取选中
    getSelect() {
        return request({
            url: '/printTagModel/getSelect'
        })
    },
    del(id) {
        return request({
            url: '/printTagModel/'+id,
            method: 'delete'
        })
    }
}